class M79UNade extends Nade;

var float CollideAllowTime;

simulated function PostBeginPlay()
{
	Super.PostBeginPlay();
	CollideAllowTime = Level.TimeSeconds + 0.50;
}

simulated function ProcessTouch( actor Other, vector HitLocation )
{
	if ( CollideAllowTime < Level.TimeSeconds )
	{
		if ( Other.Isa('KFMonster') )
		{
			Explode(HitLocation,Normal(HitLocation-Location));
			return;
		}
	}
	Super.ProcessTouch(Other,HitLocation);
}


simulated function HitWall( vector HitNormal, actor Wall )
{
	if ( CollideAllowTime < Level.TimeSeconds )
	{
		Explode(Location,HitNormal);
	}
}


defaultproperties
{
	MyDamageType=Class'KFMod.DamTypeM79Grenade'
	Damage=425.0
	Speed=800.0
}
